export function useApp() {
  return {
    isRN: !!localStorage.getItem('APP_PLATFORM'),
    statusbarheight: Number(localStorage.getItem('APP_STATUSBAR_HEIGHT')),
    realPx(n) {
      return (n * Math.min(640, document.documentElement.offsetWidth)) / 375
    }
  }
}
